package com.skit.common.bean;

import java.sql.Date;

/**
 * @author shuike <a href="mailto:shuike007@gmail.com">Contact me.</a>
 * @version 1.0
 * @since 2020/5/23
 */
public class UserInfo {
    /**
     * id         int(11)     NOT NULL AUTO_INCREMENT,
     * uid        int(11)     NOT NULL COMMENT 'UserID',
     * name       varchar(15) NOT NULL COMMENT '真实姓名',
     * stuID      varchar(8)  NOT NULL COMMENT '学号',
     * createTime timestamp   NULL DEFAULT CURRENT_TIMESTAMP,
     * updateTime timestamp   NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
     */

    private int id;//信息id
    private String stuID;//学号
    private int sex;//性别
    private String classNum;//班号
    private Long admissionDate;//入学日期
    private String ethnic;//民族
    private Department department;//院系
    private Specialities specialities;//年级

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getStuID() {
        return stuID;
    }

    public void setStuID(String stuID) {
        this.stuID = stuID;
    }

    public int getSex() {
        return sex;
    }

    public void setSex(int sex) {
        this.sex = sex;
    }

    public Long getAdmissionDate() {
        return admissionDate;
    }

    public void setAdmissionDate(long admissionDate) {
        this.admissionDate = admissionDate;
    }

    public String getEthnic() {
        return ethnic;
    }

    public void setEthnic(String ethnic) {
        this.ethnic = ethnic;
    }

    public Department getDepartment() {
        return department;
    }

    public void setDepartment(Department department) {
        this.department = department;
    }

    public Specialities getSpecialities() {
        return specialities;
    }

    public void setSpecialities(Specialities specialities) {
        this.specialities = specialities;
    }

    public String getClassNum() {
        return classNum;
    }

    public void setClassNum(String classNum) {
        this.classNum = classNum;
    }
}
